import request from "../common/request.js"
// upload
export function homeDeatil (data) {
  return request({
    url: '/index/home',
    method: 'post',
    data
  })
}

export function analysisQrCode (data) {
  return request({
    url: '/claim/analysisQrCode',
    method: 'post',
    data
  })
}

export function qrcodeInfo (data) {
  return request({
    url: '/claim/qrcodeInfo',
    method: 'post',
    data
  })
}

export function draw (data) {
  return request({
    url: '/claim/draw',
    method: 'post',
    data
  })
}

export function coachCancel (data) {
  return request({
    url: '/coachclaim/cancel',
    method: 'post',
    data
  })
}